//
//  RadioDetailViewController.m
//  LWB_Project
//
//  Created by lanou3g on 15/11/12.
//  Copyright © 2015年 wangjianliang. All rights reserved.
//

#import "RadioDetailViewController.h"

@interface RadioDetailViewController ()
@property (strong, nonatomic) IBOutlet UILabel *nameLable;
@property (strong, nonatomic) IBOutlet UIImageView *picImageView;
@property (strong, nonatomic) IBOutlet UIButton *lastButton;
@property (strong, nonatomic) IBOutlet UIButton *pauseOrPlayButton;
@property (strong, nonatomic) IBOutlet UIButton *nextButton;

@end

@implementation RadioDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //把图片设成圆形
    [self.view layoutIfNeeded];//使用storyboard和xib的时候用这种方法
    self.navigationController.navigationBar.translucent = NO;
    self.automaticallyAdjustsScrollViewInsets = NO;
    self.picImageView.layer.masksToBounds = YES;
    self.picImageView.layer.cornerRadius = 90;
    self.picImageView.layer.cornerRadius = CGRectGetHeight(_picImageView.frame)/2;
    //self.picImageView.layer.cornerRadius = (self.picImageView.frame.size.width)/2;

}




- (IBAction)lastButton:(id)sender
{

}
- (IBAction)pauseOrPlayButton:(id)sender
{

}
- (IBAction)nextButton:(id)sender
{

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
